package com.pearl.actuator.demo;

import org.springframework.boot.actuate.health.Status;
import org.springframework.boot.actuate.health.StatusAggregator;

import java.util.Set;

/**
 * @author TangDan
 * @version 1.0
 * @since 2023/5/22
 */
public class IpStatusAggregator implements StatusAggregator{
    @Override
    public Status getAggregateStatus(Status... statuses) {
        return StatusAggregator.super.getAggregateStatus(statuses);
    }

    @Override
    public Status getAggregateStatus(Set<Status> statuses) {
        return null;
    }
}
